package org.metasketch.graphics;

import java.util.ArrayList;
import java.util.List;
import org.metasketch.model.CommonIdentified;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("diagram")
public class Diagram extends CommonIdentified {

	@XStreamAsAttribute
	String name;

	// @XStreamAsAttribute
	// String concept;

	@XStreamAsAttribute
	String type;

	List<BaseGraphic> graphics = new ArrayList<BaseGraphic>();

	public List<BaseGraphic> getGraphics() {
		return graphics;
	}

	public void setGraphics(List<BaseGraphic> graphics) {
		this.graphics = graphics;
	}

	// public String getConcept() {
	// return concept;
	// }
	//
	// public void setConcept(String concept) {
	// this.concept = concept;
	// }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

}
